package com;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 功能描述,该部分必须以中文句号结尾。
 *
 * @author panqingcui
 * @create 2017-10-24 12:42
 */
@EnableCaching
@SpringBootApplication(scanBasePackages="com.cache,com.controller")
public class SpringCacheApplication {
    private static Logger log = LogManager.getLogger(SpringCacheApplication.class);

    public static void main(String[] args) {
        new SpringApplicationBuilder(SpringCacheApplication.class).bannerMode(Banner.Mode.OFF).run(args);
    }
}
